package com.ruoyi.archive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆信息对象 archive_car
 * 
 * @author yepanpan
 * @date 2025-04-17
 */
@Data
public class ArchiveCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 单位区域 */
    @Excel(name = "单位区域")
    private String deptName;
    private Long deptId;

    @Excel(name = "楼栋")
    private String buildingName;
    /** 房屋 */
    @Excel(name = "单元号")
    private Integer unitNum;
    @Excel(name = "房屋")
    private String roomName;
    @NotNull
    private Long roomId;

    /** 类别 */
    @Excel(name = "类别", dictType="car_type", comboReadDict=true)
    @NotNull
    private String type;

    /** 车牌 */
    @Excel(name = "车牌")
    @NotNull
    private String carPlate;

    /** 颜色 */
    @Excel(name = "颜色")
    @NotNull
    private String carColor;

    /** 固定车位 */
    @Excel(name = "固定车位")
    private String fixNum;

    /** 业主 */
    @Excel(name = "业主姓名")
    private String personName;

    @Excel(name = "业主身份证")
    private String personCard;
    private Long personId;

    /** 出入期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出入期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date toDate;

    /** 状态 */
    @Excel(name = "状态", dictType="car_status", comboReadDict=true)
    @NotNull
    private String status;


}
